<?php
class PurchasesModel extends Orm_Base{
    public $table = 'purchases';
    public $field = array(
        'id' => array('type' => "int(11) unsigned",'comment' => ''),
        'a_id' => array('type' => "int(11) unsigned",'comment' => '关联采购清单ID'),
        'status' => array('type' => "tinyint(1)",'comment' => '购买状态'),
        'created' => array('type' => "int(11)",'comment' => ''),
        'updated' => array('type' => "int(11)",'comment' => ''),
    );
    public $pk = 'id';
} 
?>
